#include "Button.h"

Button::Button(const std::wstring text): StandardComponent(text) {
	setClassName(L"Button");
}

Button::~Button() {
}

void Button::setText(const std::wstring text) {
	setName(text);
}

const std::wstring& Button::getText() const {
	return getName();
}

LRESULT Button::processMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
	return Component::processMessage(hwnd, msg, wParam, lParam);
}